﻿package com.valeosys {
	import flash.events.Event;
	
	public class CustomEvent extends Event {
		/* the event type ON_UPLOAD_COMPLETE is used when file is uploaded to the server */
        public static const ON_UPLOAD_COMPLETE:String = "onUploadComplete";
        /* the event type ON_BITMAP_ADDED is used when bitmap is ready to be added to stage */
        public static const ON_BITMAP_READY:String = "onBitmapReady";
        /* customMessage is the property will contain the message for each event type dispatched */
        public var customMessage:String = "";
		
		public function CustomEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false):void {
			super(type, bubbles, cancelable);
		}
	}
}